package sk.xorty.endpoints.gateway;

import org.springframework.stereotype.Component;
import sk.xorty.domain.Trade;

@Component
public class TradeProcessor {

    public Trade receiveTrade(Trade trade) {
        System.out.println("Received trade via gateway: " + trade);
        trade.setStatus("REPLY");
        return trade;
    }
}
